package com.zxy.ziems.server.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxy.btp.mybatis.base.BaseEntity;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author bhg
 * @date 2023/3/8
 */
@Data
public class DictItemDto {

    private String itemId;
    /**
     * 字典编码
     */
    @NotEmpty(message = "字典组编码不能为空")
    private String dictCode;
    /**
     * 字典项对应key
     */
    @NotEmpty(message = "字典项编码不能为空")
    private String itemCode;
    /**
     * 字典项对应value
     */
    @NotEmpty(message = "字典项名称不能为空")
    private String itemName;
    /**
     * 排序
     */
    @NotNull(message = "字典排序不可为空")
    private Integer itemSort;
    /**
     * 描述
     */
    private String description;

    private Integer status;
}
